import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    islogin:false,
    uploads:'http://localhost:8081/app/project/app/tp5.1/public/uploads/',
    badge:{
      'icon':[
         require('../assets/img/nav1.png'),
         require('../assets/img/nav2.png'),
         require('../assets/img/nav3.png'),
         require('../assets/img/nav4.png'),
         require('../assets/img/nav5.png'),
         require('../assets/img/nav6.png'),
         require('../assets/img/nav7.png'),
         require('../assets/img/nav8.png')
      ],
      'title':['团队帮扶','创业加盟','FOC中心','购物中心','女装馆','美妆馆','男装馆','更多']
    }
  },
  mutations: {
    updataLogin:(state,payload)=>{
      state.islogin=payload
    }
  },
  actions: {
  },
  modules: {
  }
})
